package com.tangsm.spring.boot.aliyun.bailian.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;


@Data
public class CreatVoiceDto {
    @NotBlank(message = "音色名称不能为空")
    @Pattern(regexp = "^[^\\u4e00-\\u9fa5]*$", message = "音色名称不能包含中文")
    private String voiceName;
    @NotBlank(message = "文件地址不能为空")
    private String fileUrl;
}